# MAKEFILE
# SERVER SIDE

APP = server
CC = g++

SERVER_FILES = server.cpp
SERVER_OUTPUT = server

GL_LIBS = -lGL -lglut -lGLU
OPENCV_LIBS = -lopencv_core -lopencv_highgui -lopencv_imgproc

LIBS += $(GL_LIBS)
LIBS += $(OPENCV_LIBS)

CFLAGS = -Wall

all: $(APP)

server: $(SERVER_FILES)
	$(CC) $(CFLAGS) $(LIBS) -o $(SERVER_OUTPUT) server.cpp -I../../../../comm_libs/port_comm/include -L../../../../comm_libs/port_comm/lib -lportcomm -lpthread

clean:
	rm -rf $(SERVER_OUTPUT) *~
